package com.test;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author wufagang
 * @description
 * @date 2022年07月16日 19:15
 */
public class MulThreadDemo {

    private static ExecutorService executorService = Executors.newFixedThreadPool(1);
    public static void main(String[] args) {
        executorService.execute(new Runnable() {
            @Override
            public void run() {
                System.out.println("dddddd"+Thread.currentThread().getName());
            }
        });
        for (int i = 0; i < 100; i++) {
            System.out.println("main"+Thread.currentThread().getName());
        }

    }
}
